package net.dopan.pigframe.user.mapper;

import net.dopan.pigframe.core.base.dao.BaseDao;
import net.dopan.pigframe.user.model.entity.SysDeptRelation;

/**
 * @Package: net.dopan.pigframe.user.mapper
 * @Title: SysDeptRelationMapper
 * @Description: Mapper 接口
 * @author: 刘宽
 * @date: 2018/9/2 20:40
 */
public interface SysDeptRelationMapper extends BaseDao<SysDeptRelation> {

    /**
     * 更改部分关系表数据
     *
     * @param deptRelation
     */
    void updateDeptRealtion(SysDeptRelation deptRelation);

    /**
     * 删除部门关系表数据
     *
     * @param id
     */
    void deleteAllDeptRealtion(Integer id);

}